package com.pbc.gmp.model.basemodel;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 控制器资源，ActionResouces
 * </p>
 *
 * @author kjk
 * @since 2017-12-23
 */
@TableName("t_controller_res")
public class ControllerRes implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	private Long id;

	/**
	 * 资源的名称，中文名称，组织机构管理，用户管理
	 */
	private String name;

	/**
	 * 资源的唯一标识，在我们的系统中，默认使用类名进行标识
	 */
	private String sn;

	/**
	 * 资源的父类标识
	 */
	private String psn;

	/**
	 * 资源的父类id
	 */
	private Long pid;

	/**
	 * 
	 */
	private String classname;

	/**
	 * 
	 */
	private Integer ordernum;

	/**
	 * 资源的父类，存在的主要意义是为了方便在授权的时候进行选择，通过树的方式进行选择
	 */
	private Long respid;

	/**
	 * 资源类型
	 */
	private String rtype;



	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSn() {
		return sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}

	public String getPsn() {
		return psn;
	}

	public void setPsn(String psn) {
		this.psn = psn;
	}

	public Long getPid() {
		return pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public String getClassname() {
		return classname;
	}

	public void setClassname(String classname) {
		this.classname = classname;
	}

	public Integer getOrdernum() {
		return ordernum;
	}

	public void setOrdernum(Integer ordernum) {
		this.ordernum = ordernum;
	}

	public Long getRespid() {
		return respid;
	}

	public void setRespid(Long respid) {
		this.respid = respid;
	}

	public String getRtype() {
		return rtype;
	}

	public void setRtype(String rtype) {
		this.rtype = rtype;
	}

}
